#ifndef OT_CONFIG_H
#define OT_CONFIG_H

// Define your assert here
// Currently I use this version that is intended to crash so
// the debugger will be guaranteed to stop regardless of platform.

#define OT_ASSERT(x) if(!(x)){ printf("OpenTeddy assert failed,  %s:%d\n", __FILE__, __LINE__); ((*(int*)0)=5); }

// I really wish there was some standard about this.  But since there's not,
// we have to do this.

#ifndef M_PI
#define M_PI 3.141592653589793238462643383279502884197169399375105820974944592308
#endif

#define for if(0); else for

// You may also want to config triangle.h.

#endif //OT_CONFIG_H
